export function add(x, y) {
  return x + y;
}

let obj = {
  name: 'jack',
  age: 18,
};

const printObj = function (obj) {
  return JSON.stringify(obj, null, 2);
};

printObj(obj);

const a = void 0;

[].forEach((v) => v + 1);

new Promise(async (resolve) => {
  resolve();
});
